package com.example.piece.ui.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import androidx.databinding.ViewDataBinding
import com.therouter.router.Autowired
import com.therouter.router.Route
import com.example.piece.R
import com.example.piece.constant.Key
import com.example.piece.constant.RoutePath
import com.example.piece.databinding.ActivityShenHeBinding

/**
 * 审核
 */
@Route(path = RoutePath.MAIN_SHENHE_ACTIVITY)
class ShenHeActivity : Layer3Activity<ActivityShenHeBinding,ViewDataBinding>() {


    override val isTransparentStatusBar: Boolean = true
    override val isLockPortrait: Boolean = true
    override val statusBarAlpha: Int = 0
    override val isDarkMode: Boolean = true
    override val isFitsSystemWindows: Boolean = true
    override val leftIcon1Res: Int = R.drawable.ic_back
    override val centerLayoutRes: Int
        get() = R.layout.activity_shen_he
    override val title: String
        get() = H5_TITLE

    @JvmField
    @Autowired(name = Key.DataKey.H5_TITLE)
    var H5_TITLE: String = ""
    /**  消息类型   type=0 关注 type=1  粉丝**/
    @JvmField
    @Autowired(name = Key.DataKey.FANS_SHENHE_TYPE)
    var FANS_SHENHE_TYPE: String = ""


    override fun onClickLeftIcon1(view: View) {
        onBackPressed()

    }

}